<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="jquery-1.10.2.js"></script>
<script type="text/javascript" src="jquery.validate.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('#regist').validate();
});
</script>
<title>Insert title here</title>
</head>
<body>
<form action="" id="regist">
  帳號:<input id="userid" minlength=5 name="userid" type="text" value="jack"/><span id="userid_msg"></span>
<br/>
  密碼:<input id="pw1" name="pw1" type="text" value="1234"/> <span id="pw1_msg"></span>
<br/>
  密碼:<input id="pw2" name="pw2" type="text" value="1234"/><span id="pw2_msg">(請再輸入一次密碼)</span>
<br/>
  E-mail:<input name="email" type="text" value="test@com.tw"/>
<br/>
  <input type="submit" value="註冊"/>
</form>
</body>
</html>





